<?php session_start(); ?>
<?php include "libfunc.php";?>
<?php if (!empty($_SESSION['admUser']) && !empty($_SESSION['admPass'])) { 
echo "<script language='javascript'>window.location = '../admin/adminLayout.php'</script>";
}else{
?>
<html>
 <head>
  <title>.: Admin Room ClothingCorp:.</title>
  <link href="admInc/signInStyle.css" type="text/css" rel="stylesheet">
  <script language="javascript" src="admInc/jsSignCheck.js"></script>
 </head>
 <body>
  <div id="wrapper">
   <div id="note">
     <center>Welcome To Admin Page</center>
   </div>
   <div id="header">
    <img src="image/lock.png" border="0" class="image">
    <div class="title">Sign In Please</div><!-- title //-->
   </div><!-- header //-->
   <div id="formTable">
    <div class="menuLabel">
	 <form method="post" action="proses_signin.php" onSubmit="return validasiForm(this)">
	  Username :<br>
	  <input type="text" class="inputText" size="34" name="user"><br>
	  Password :<br>
	  <input type="password" class="inputText" size="34" name="pass"><br>
	  <input type="submit" class="button" value="Sign In"><input type="reset" class="button" value="Cancel" onClick="window.location = '../'">
	 </form>
	</div>
   </div><!-- formTable //-->
  </div><!-- wrapper //-->
 </body>
</html>
<?php
}
?>